package edu.xlh.travel.service;

import com.alipay.api.AlipayApiException;
import org.springframework.ui.ModelMap;

import javax.servlet.http.HttpServletRequest;
import java.io.UnsupportedEncodingException;

public interface CallBackService {
    String alipayReturnNotice(HttpServletRequest request, ModelMap model) throws UnsupportedEncodingException, AlipayApiException;

    String alipayNotifyNotice(HttpServletRequest request) throws Exception;

    String refund(String orderid) throws AlipayApiException;
}
